//package cn.base.web.auth.inner.config;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//
//@Configuration
////是否开启独立认证服务
//@ConditionalOnProperty(name = "auth.standaloneEnabled", havingValue = "false", matchIfMissing = true)
//@Slf4j
//public class InnerAuthWebMvcConfig implements WebMvcConfigurer{
//
//
//	@Autowired
//	private InnerAccessInterceptor innerAccessInterceptor;
//
//
//	@Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        //System.out.println("2===============================================================================================");
//        log.info("Loaded InnerAccessInterceptor");
//        registry.addInterceptor(innerAccessInterceptor);
//
//    }
//}
//
//
